import Service from '../../core/baseService';

export default class ShopMerchantService extends Service {
  constructor(ctx) {
    super(ctx);
    this.model = ctx.model.Shop;
  }



  async detail(id) {
    const result = await this.model.findOne({
      where: { id },
      // attributes: ['about', 'address', 'name', 'phone'],
    });
    return result;
  }

}
